home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / X11 / extensions / Xcomposite.h < prev    next >
C/C++ Source or Header  |  2006-04-12  |  2KB  |  72 lines

  1. /*
  2.  * $Id: Xcomposite.h,v 1.2 2004/07/08 07:33:23 keithp Exp $
  3.  *
  4.  * Copyright ⌐ 2003 Keith Packard
  5.  *
  6.  * Permission to use, copy, modify, distribute, and sell this software and its
  7.  * documentation for any purpose is hereby granted without fee, provided that
  8.  * the above copyright notice appear in all copies and that both that
  9.  * copyright notice and this permission notice appear in supporting
  10.  * documentation, and that the name of Keith Packard not be used in
  11.  * advertising or publicity pertaining to distribution of the software without
  12.  * specific, written prior permission.  Keith Packard makes no
  13.  * representations about the suitability of this software for any purpose.  It
  14.  * is provided "as is" without express or implied warranty.
  15.  *
  16.  * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  17.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
  18.  * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  19.  * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  20.  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  21.  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  22.  * PERFORMANCE OF THIS SOFTWARE.
  23.  */
  24.  
  25. #ifndef _XCOMPOSITE_H_
  26. #define _XCOMPOSITE_H_
  27.  
  28. #include <X11/extensions/composite.h>
  29. #include <X11/extensions/Xfixes.h>
  30. #include <X11/Xfuncproto.h>
  31.  
  32. /*
  33.  * This revision number also appears in configure.ac, they have
  34.  * to be manually synchronized
  35.  */
  36. #define XCOMPOSITE_MAJOR    COMPOSITE_MAJOR
  37. #define XCOMPOSITE_MINOR    COMPOSITE_MINOR
  38. #define XCOMPOSITE_REVISION    0
  39. #define XCOMPOSITE_VERSION    ((XCOMPOSITE_MAJOR * 10000) + (XCOMPOSITE_MINOR * 100) + (XCOMPOSITE_REVISION))
  40.  
  41. _XFUNCPROTOBEGIN
  42.  
  43. Bool XCompositeQueryExtension (Display *dpy, int *event_basep, int *error_basep);
  44.  
  45. Status XCompositeQueryVersion (Display *dpy,
  46.                    int     *major_versionp,
  47.                    int     *minor_versionp);
  48.  
  49. int XCompositeVersion (void);
  50.  
  51. void
  52. XCompositeRedirectWindow (Display *dpy, Window window, int update);
  53.  
  54. void
  55. XCompositeRedirectSubwindows (Display *dpy, Window window, int update);
  56.  
  57. void
  58. XCompositeUnredirectWindow (Display *dpy, Window window, int update);
  59.  
  60. void
  61. XCompositeUnredirectSubwindows (Display *dpy, Window window, int update);
  62.  
  63. XserverRegion
  64. XCompositeCreateRegionFromBorderClip (Display *dpy, Window window);
  65.  
  66. Pixmap
  67. XCompositeNameWindowPixmap (Display *dpy, Window window);
  68.  
  69. _XFUNCPROTOEND
  70.  
  71. #endif /* _XCOMPOSITE_H_ */
  72.